package com.easy.service;

import com.easy.bean.Record;
import com.easy.util.Page;

import java.util.List;

public interface IRecordService {

    Record getDeliveryByID(int id);
    Record getReceiptByID(int id);

    List<Record> getDelivery(Record record, Page page);
    List<Record> getReceipt(Record record, Page page);

    int getDeliveryCount(Record record);
    int getReceiptCount(Record record);



    int addDelivery(Record record);
    int addReceipt(Record record);

    int delDelivery(int id);
    int delReceipt(int id);

    int editDelivery(Record record);
    int editReceipt(Record record);
}
